﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.QD
{
    public class Tb_ChangeRecord
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Int32? ClassID { get; set; }
        public Guid? EmpGuid { get; set; }
        public Int32? ChangeSetId { get; set; }
        public String ChangeItem { get; set; }
        public String ChangeItemName { get; set; }
        public String BeforeChange { get; set; }
        public string BeforeValue { get; set; }
        public String AfterChange { get; set; }
        public string AfterValue { get; set; }
        public String Remark { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? OptDate { get; set; }
        public Int32? ClassValue { get; set; }
        public Int32? ChangeItemSubCode { get; set; }
    }
}
